Skip to content

Conversation

@JulianAssmann
Copy link

Addresses #98

The attention_heads function now has an option show_token (default: True) that displays the tokens and their attention for the selected attention head.

Additionally, I added a match_color argument that causes the attention pattern visualization to have the same color as the pattern preview, the label for the attention head and the token attention visualization (see image):
grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants